.widget-container.fluid-height.stf-upload(ng-controller='ImageDisplayCtrl')
    .heading
        stacked-icon(icon='fa-image', color='color-orange')
        span(translate) Image Uploader
        clear-button(ng-click='clear()', ng-disabled='!uploaded').btn-xs
    
    .drop-area(ng-file-drop='installFile($files)', ng-file-drag-over-class='dragover').file-input.btn-file
      input(type='file', ng-file-select='uploadImage($files)')

      i.fa.fa-2x.fa-download.drop-area-icon
      .drop-area-text(translate) Drop 「image」 to upload

      .upload-status(ng-if='uploaded').selectable
      uib-progressbar(max='100', value='uploaded.progress', ng-if='!uploadDone',
        ng-class='{"active": !uploadDone}').progress-striped
            span  ({{uploaded.progress}}%)
      